CREATE TABLE [dbo].[TTCOBA_EXBA]
(
[CO_EMPR] [dbo].[TD_VC_002] NOT NULL,
[CO_BANC] [dbo].[TD_VC_003] NOT NULL,
[CO_COLU_EXBA] [dbo].[TD_VC_003] NOT NULL,
[DE_COLU_EXBA] [dbo].[TD_VC_100] NULL,
[TI_DATO_COBA] [dbo].[TD_VC_001] NULL,
[ST_OBLI] [dbo].[TD_VC_001] NULL,
[ST_CONC] [dbo].[TD_VC_001] NULL,
[CO_COLU_CONC] [dbo].[TD_VC_020] NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TTCOBA_EX__CO_US__59F03CDF] DEFAULT (suser_sname()),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TTCOBA_EX__FE_US__5AE46118] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TTCOBA_EX__CO_US__5BD88551] DEFAULT (suser_sname()),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TTCOBA_EX__FE_US__5CCCA98A] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTCOBA_EXBA] ADD CONSTRAINT [PK__TTCOBA_E__2E637FDB7E388A4D] PRIMARY KEY CLUSTERED  ([CO_EMPR], [CO_BANC], [CO_COLU_EXBA]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTCOBA_EXBA] ADD CONSTRAINT [FK__TTCOBA_EX__CO_EM__49E4BD9F] FOREIGN KEY ([CO_EMPR]) REFERENCES [dbo].[TMPARA_TESO] ([CO_EMPR])
GO
